package com.crm.model.vo.customerContractManager;

import com.crm.common.model.DhPageInfo;
import com.crm.model.vo.orderManager.CustomerProductOrderDetailEditVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 合同续费VO
 * @author luojie
 * @date 2021/4/15 16:50
 */
@Data
public class ContractRenewalVO {

    //客户id
    private String customerId;

    //联系人id
    private String contactId;

    //联系人
    private String contactName;

    //联系方式
    private String contactDetails;

    //客户邮箱
    private String customerEmail;

    //合同开始日期
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date contractStartDate;

    //合同结束日期
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date contractEndDate;

    //审核是否加盖公章
    private String applyElectronicContract;

    //合同总金额
    private BigDecimal contractTotalAmount;

    //合同优惠总金额
    private BigDecimal contractDiscountTotalAmount;

    //合同实际总金额
    private BigDecimal contractActualTotalAmount;

    //合同应收款
    private BigDecimal contractReceivables;

    //支付方式
    private String paymentMethod;

    //付款账号
    private Integer paymentNumber;

    //附件上传id
    private String contractAnnexId;

    //附件访问URl
    private String contractAnnexAccessUrl;

    //审核附件id
    private String reviewAnnexId;

    //审核附件访问URL
    private String  reviewAnnexAccessUrl;

    //订单产品列表
    private DhPageInfo<CustomerProductOrderDetailEditVO> productEditArr;
}
